//
//  Person.m
//  hf4-5
//
//  Created by mac on 16-4-5.
//  Copyright (c) 2016年 hf. All rights reserved.
//

#import "Person.h"

@implementation Person

-(void)eat
{
    NSLog(@"Person %@ eats!",self.name);
}

-(void)sleep
{
    NSLog(@"Person %@ sleep!",self.name);
}

-(void)talk:(NSString *)text
{
    NSLog(@"Person %@ says:%@",self.name,text);
}
@end
